package com.canyou.oa.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.canyou.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 动态表单项目可选项表
 * </p>
 *
 * @author canyou
 * @since 2021-07-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("oa_item_option")
@ApiModel(value="ItemOption对象", description="动态表单项目可选项表")
public class ItemOption extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属项目id")
    @TableField("item_id")
    private Long itemId;

    @ApiModelProperty(value = "可选项名称")
    @TableField("option_name")
    private String optionName;

    @ApiModelProperty(value = "可选项值")
    @TableField("option_val")
    private String optionVal;

    @ApiModelProperty(value = "排序值")
    @TableField("sort")
    private Integer sort;

}
